package com.wzz.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "oss.config")
public class OSSConfig {

    public boolean enable;

    public String endpoint;

    public String accesskeyid;

    public String accesskeysecret;

    public String bucketname;

    public String key;

    public String host;

}
